package com.xiaoyi.encrypt;


import com.xiaoyi.annotataion.Encrypt;
import com.xiaoyi.config.EncryptionConfig;

/**
  * 默认的，什么都不做
  * @author xiaoyi
  * @version 1.0.0
  * @date 2023/8/6 14:51
  */
public class DefaultEncryptor implements IEncryptorStrategy {

    @Override
    public String encrypt(String value, EncryptionConfig config, Encrypt encrypt) {
        return value;
    }

    @Override
    public String decrypt(String value, EncryptionConfig config, Encrypt encrypt) {
        return value;
    }
}
